package STUDENT.NGUYENSANG.OOPs.EX2_BAI3_inheristance;
import java.util.Scanner;
public class DongVat {
	Scanner input=new Scanner(System.in);
	private int SoChan;
	private int SoTay;
	private int SoMat;
	public int getSoChan() {
		return SoChan;
	}
	/*public void setSoChan(int soChan) {
		SoChan = soChan;
	}*/
	public int getSotay() {
		return SoTay;
	}
	/*public void setSotay(int sotay) {
		SoTay = sotay;
	}*/
	public int getSoMat() {
		return SoMat;
	}
	/*public void setSoMat(int soMat) {
		SoMat = soMat;
	}*/
	public void Nhap()
	{
		System.out.println("Nhap So Chan:");
		this.SoChan=input.nextInt();
		System.out.println("Nhap So Mat");

		this.SoMat=input.nextInt();
		System.out.println("Nhap So Tay");

		this.SoTay=input.nextInt();
	}
}
